<template>
  <div class="demo-collapse">
    <el-collapse v-model="activeName" accordion>
      <el-collapse-item title="Consistency" name="1">
        <div>
          Consistent with real life: in line with the process and logic of real
          life, and comply with languages and habits that the users are used to;
        </div>
      </el-collapse-item>
    </el-collapse>
  </div>
</template>

<script>
import { ref,reactive,toRefs } from 'vue'

  export default {
    name: "Collapse",
    setup(){
      const data = reactive({
         activeName:ref('1')
      })



      return{
        ...toRefs(data)
      }
    }
  }

</script>
